class thread extends Thread{
	elevator e;
	public thread(elevator x){
		e=x;
	}
	public void run(){
		e.move();
	}
}